573 - Multi viewport viewer addon #574
Conversation
|
|
I took a look at all components to see how the "All viewports" is working across the board. Here's an itemized review of what I found, including suggested changes. For anything that is out of scope for this PR I can create separate tickets. Multi viewport bugs
CheckboxAt "All viewports" focus state is getting cut off. Large target areaAt "All viewports" focus state is getting cut off. ExpandablesAt "All viewports" focus state is getting cut off. AlertIn the field-level alerts for "All viewports" the input field border and focus state are getting cut off. BreadcrumbFor the breadcrumb at mobile, should we have 15px padding left and right? See image from CE staging: FieldsetAt "All viewports" focus state is getting cut off. Header LayoutI'm not sure how to interpret the "All viewports" view for this one. SelectIn "All viewports" the input field border and focus state are getting cut off. This is happening for both single and multi selects. Hero related50/50 heroThe image in the DSR implementation of the 50/50 hero is not rendering correctly. In this hero the image should take up 50% of the hero space. You can view the implemented component here: https://www.consumerfinance.gov/es/ Screenshots
Pre-existing issuesText fixes (easy fixes)
Full-width buttonChange button label to "Full-width" instead of "Resize to mobile to see effect" Alert
Code fixes (higher level of effort)IconsIcons next to headings are sitting low. I have to look into whether this is a known issue that's on the radar at the DS level. It could be related to the typeface change. Eyebrow
https://www.consumerfinance.gov/owning-a-home/prepare/ Screenshots
Slug
HeroFor the majority of CFPB components, we go down the the next heading level at 600px width and below. For the Hero component, however, the type styling breaks to the next level at 900px wide. This creates a conflict in visual hierarchy between the 900px and 601px width, where you will see the hero heading and the first heading in the main content area styled with the Heading 2 styling.
Screenshots
|
natalia-fitzgerald
left a comment
There was a problem hiding this comment.
@flacoman91
Great work on this! It looks good.
I created separate tickets for all items posted here that were not directly related to the multi-viewport addon #574 (comment)

















Addresses- ??
Fixed the font rendering in the preview as well
I installed

storybook-font-inspectorso you can use the tool to inspect the fonts in a single preview